﻿using Core.DBInterfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.DBClasses
{
    public class DBChangesAudit : IDBChangesAudit
    {
        public System.Int32 Id { get; set; }
        public System.String Entity { get; set; }
        public System.Int32 EntityId { get; set; }
        public System.String State { get; set; }
        public System.String Property { get; set; }
        public System.String OldValue { get; set; }
        public System.String NewValue { get; set; }
        public System.String Author { get; set; }
        [DatabaseGenerated(DatabaseGeneratedOption.Computed)]
        public System.DateTime CreationDate { get; set; }
    }
}
